﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Speech.Synthesis;


namespace OrzRefectorMenu
{
    /// <summary>
    /// Interaction logic for ClassTemplate.xaml
    /// </summary>
    public partial class ClassTemplate : Window
    {
        public ClassTemplate()
        {
            InitializeComponent();



            SpeechSynthesizer synthesizer = new SpeechSynthesizer();
            synthesizer.Volume = 50;  // 0...100
            synthesizer.Rate = 1;     // -10...10

            // Synchronous
            synthesizer.Speak("are you mad? Welcome to the Wpf Tutorial.");

            // Asynchronous
        }
    }
}
